package com.hyt.it.ogt.ks.feign.model;

import java.util.List;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

import com.hyt.common.apiInfor.DataType;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@ToString
@ApiModel(value="考生注册信息", description="考生注册信息")
public class ExamCandidateInfoRegisterVO {
	 @ApiModelProperty(value = "考试id", required = true)  
	 @NotNull(message = "考试id不能为空")
	 private String examId;
	 
	 @ApiModelProperty(value = "机构ID")
	 private String officeId;
	 	 
	 @ApiModelProperty(value = "考生信息", dataType=DataType.ARRAY)
	 @Valid
	 private List<ExamCandidateInfo> examCandidateInfos;
}
